<?php
/**
 * PurchaseDetailFixture
 *
 */
class PurchaseDetailFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'purchase_detail_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'),
		'purchase_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'mobile_model_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false, 'key' => 'index'),
		'quantity' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'price' => array('type' => 'integer', 'null' => true, 'default' => null, 'unsigned' => false),
		'total' => array('type' => 'biginteger', 'null' => true, 'default' => null, 'unsigned' => false),
		'indexes' => array(
			'PRIMARY' => array('column' => 'purchase_detail_id', 'unique' => 1),
			'fk_purchase_purchasedetail' => array('column' => 'purchase_id', 'unique' => 0),
			'fk_purchasedetail_model_idx' => array('column' => 'mobile_model_id', 'unique' => 0)
		),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'purchase_detail_id' => 1,
			'purchase_id' => 1,
			'mobile_model_id' => 1,
			'quantity' => 1,
			'price' => 1,
			'total' => ''
		),
	);

}
